package com.zhuoshi.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhuoshi.IDao.Wd_reception_recordModelMapper;
import com.zhuoshi.bean.Wd_reception_recordModel;
import com.zhuoshi.service.Wd_reception_recordModelService;
@Service
public class Wd_reception_recordModelServiceImpl implements
		Wd_reception_recordModelService {
	@Autowired
	private Wd_reception_recordModelMapper receptionDao;
	public int deleteByPrimaryKey(String receptionRecordId) {
		return receptionDao.deleteByPrimaryKey(receptionRecordId);
	}

	public int insert(Wd_reception_recordModel record) {
		return receptionDao.insert(record);
	}

	public int insertSelective(Wd_reception_recordModel record) {
		return receptionDao.insertSelective(record);
	}

	public Wd_reception_recordModel selectByPrimaryKey(String receptionRecordId) {
		return receptionDao.selectByPrimaryKey(receptionRecordId);
	}

	public int updateByPrimaryKeySelective(Wd_reception_recordModel record) {
		return receptionDao.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(Wd_reception_recordModel record) {
		return receptionDao.updateByPrimaryKey(record);
	}
	//查询全部
	public List<Wd_reception_recordModel> selectAllReception(Wd_reception_recordModel reBean) {
		return receptionDao.selectAllReception(reBean);
	}
}
